package com.tongtong.stscommon.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.concurrent.TimeUnit;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CaptchaData implements Serializable {
	private static final long serialVersionUID = 7459111785784187182L;

	public static int Expire = 5;  //有效时间为5
	public static TimeUnit Unit = TimeUnit.MINUTES;  //单位为分钟

	private String captcha;
	private Date time;
}
